package routers

import (
	"Web-Shop/controllers/goods"

	"github.com/astaxie/beego"
)

func goodsRouter() {
	c := &goods.GoodsController{}
	beego.Router("/goods/:id", c, "GET:GoodsDetail")
	beego.Router("/goodsList", c, "get:ShowGoodsList")
	beego.Router("/goodsSearch", c, "get:Search")
}
